.Net Framework > v1.1.4322 > System > Messaging > MessageQueue > BeginPeek BeginPeek()
BeginPeek(TimeSpan)
BeginPeek(TimeSpan,Object)
BeginPeek(TimeSpan,Object,AsyncCallback)


BeginPeek()

Category
Method
Description
Initiates an asynchronous peek operation that has no time-out. The operation is not complete until a message becomes available in the queue.
Type
IAsyncResult
Character
public
Tags
01892ABD01, 02E3ABA98D, 0311417F6F

BeginPeek(TimeSpan)

Category
Method
Description
Initiates an asynchronous peek operation that has a specified time-out. The operation is not complete until either a message becomes available in the queue or the time-out occurs.
Type
IAsyncResult
Character
public
Parameters
NameTypeDescription
timeoutTimeSpan
Tags
01892ABD01, 02E3ABA98D, 0311417F6F

BeginPeek(TimeSpan,Object)

Category
Method
Description
Initiates an asynchronous peek operation that has a specified time-out and a specified state object, which provides associated information throughout the operation's lifetime. The operation is not complete until either a message becomes available in the queue or the time-out occurs.
Type
IAsyncResult
Character
public
Parameters
NameTypeDescription
timeoutTimeSpan
stateObjectObject
Tags
01892ABD01, 02E3ABA98D, 0311417F6F

BeginPeek(TimeSpan,Object,AsyncCallback)

Category
Method
Description
Initiates an asynchronous peek operation that has a specified time-out and a specified state object, which provides associated information throughout the operation's lifetime. This overload receives notification, through a callback, of the identity of the event handler for the operation. The operation is not complete until either a message becomes available in the queue or the time-out occurs.
Type
IAsyncResult
Character
public
Parameters
NameTypeDescription
timeoutTimeSpan
stateObjectObject
callbackAsyncCallback
Tags
01892ABD01, 02E3ABA98D, 0311417F6F

Software for developers
.Net Components
Delphi Components
Software for Android Developers
More information resources
WinAPI Programmer's Reference
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database